/**
 * Created by MissJin on 2017/1/10.
 * 名  称: TBcRoleResource
 * 类  型: class
 * 描  述: 公共角色模块
 * 路  径:com.hongdee.rbac.role.entity
 */
package com.hongdee.rbac.role.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by My on 2017/1/10.
 */
@Entity
@Table(name = "T_BC_ROLE_RESOURCE")
public class TBcRoleResource extends BaseEntity {
    /**
     * 角色 ID, 关联T_BC_USER.u_id
     */
    @Column(length = 32, name = "r_id", nullable = false, columnDefinition = "VARCHAR(32) COMMENT '角色 ID'")
    private String rId;
    /**
     * 资源ID,关联 T_BC_ RESOURCE.res_id
     */
    @Column(length = 32, name = "res_id", columnDefinition = "VARCHAR(32) COMMENT '资源ID'")
    private String resId;

    /**
     * @return rId
     */
    public String getRId() {
        return rId;
    }

    /**
     * @param rId String
     */
    public void setrId(String rId) {
        this.rId = rId;
    }

    /**
     * @return resId
     */
    public String getResId() {
        return resId;
    }

    /**
     * @param resId String
     */
    public void setResId(String resId) {
        this.resId = resId;
    }
}
